package com.ruoyi.customer.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工单审核对象 cs_work_order
 * 
 * @author 李守壮
 * @date 2023-03-30
 */
public class CsWorkOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工单ID */
    private Long id;

    /** 工单类型 */
    @Excel(name = "工单类型")
    private String workOrderType;

    /** 工单详情 */
    @Excel(name = "工单详情")
    private String detail;

    /** 工单状态 */
    @Excel(name = "工单状态")
    private String workOrderStatus;

    /** 工单优先级 */
    @Excel(name = "工单优先级")
    private String workOrderLevel;

    /** 提出人id */
    @Excel(name = "提出人id")
    private String applyId;

    /** 提出人 */
    @Excel(name = "提出人")
    private String applyPerson;

    /** 处理人id */
    @Excel(name = "处理人id")
    private String resolveId;

    /** 处理人 */
    @Excel(name = "处理人")
    private String resolvePerson;

    /** 解决时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "解决时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date doneTime;

    /** 删除标志 */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWorkOrderType(String workOrderType) 
    {
        this.workOrderType = workOrderType;
    }

    public String getWorkOrderType() 
    {
        return workOrderType;
    }
    public void setDetail(String detail) 
    {
        this.detail = detail;
    }

    public String getDetail() 
    {
        return detail;
    }
    public void setWorkOrderStatus(String workOrderStatus) 
    {
        this.workOrderStatus = workOrderStatus;
    }

    public String getWorkOrderStatus() 
    {
        return workOrderStatus;
    }
    public void setWorkOrderLevel(String workOrderLevel) 
    {
        this.workOrderLevel = workOrderLevel;
    }

    public String getWorkOrderLevel() 
    {
        return workOrderLevel;
    }
    public void setApplyId(String applyId) 
    {
        this.applyId = applyId;
    }

    public String getApplyId() 
    {
        return applyId;
    }
    public void setApplyPerson(String applyPerson) 
    {
        this.applyPerson = applyPerson;
    }

    public String getApplyPerson() 
    {
        return applyPerson;
    }
    public void setResolveId(String resolveId) 
    {
        this.resolveId = resolveId;
    }

    public String getResolveId() 
    {
        return resolveId;
    }
    public void setResolvePerson(String resolvePerson) 
    {
        this.resolvePerson = resolvePerson;
    }

    public String getResolvePerson() 
    {
        return resolvePerson;
    }
    public void setDoneTime(Date doneTime) 
    {
        this.doneTime = doneTime;
    }

    public Date getDoneTime() 
    {
        return doneTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("workOrderType", getWorkOrderType())
            .append("detail", getDetail())
            .append("workOrderStatus", getWorkOrderStatus())
            .append("workOrderLevel", getWorkOrderLevel())
            .append("applyId", getApplyId())
            .append("applyPerson", getApplyPerson())
            .append("resolveId", getResolveId())
            .append("resolvePerson", getResolvePerson())
            .append("doneTime", getDoneTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
